package com.fitness.fitness.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fitness.fitness.modal.resource.dto.VenueDto;
import com.fitness.fitness.modal.resource.entity.Venue;
import com.fitness.fitness.modal.resource.params.VenuePageQueryParams;
import com.fitness.fitness.modal.resource.vo.VenueVO;

import java.util.Map;

public interface IVenueService extends IService<Venue> {
    Page<VenueVO> getVenuePage(VenuePageQueryParams queryParams);

    boolean addVenue(VenueDto venueDto);

    boolean updateVenue(VenueDto venueDto);

    Map<Long, Venue> getVenueMap();
}
